#ifndef __DIGITAL_CAMERA_TOOL__
#define __DIGITAL_CAMERA_TOOL__


#include <dc1394/dc1394.h>


class DCDevice;


class DCTool
{
public:
  static bool init();
  static void finish();

  enum STATUS_TYPE{
    INFO,
    WARNING,
    ERROR,
  };
  static void      printInfo(STATUS_TYPE type, const char* text);
  static void      printCameraList();

  static DCDevice *createDevice(int uid);

private:
  static dc1394_t            *dc;
  static dc1394camera_list_t *list;
};


#endif
